import resources from './resources';
import utils from './utils';
import godebug from './config';
import rewriteConsole from './rewriteConsole';
import request from './request';
import record from './record';
import eventListener from './eventListener';
import _attachEvent from './attachEvent';
import report from './report';
godebug.reportURL = '//127.0.0.1:3002/error/report'
if (utils.isStandardBrowser) {
    eventListener();
    // rewriteConsole();
} else {
    _attachEvent();
}
request();
resources()
export default {
    notice: report.notice,
    record
}